package com.zjh.dao.user;

import com.zjh.pojo.User;

import java.sql.Connection;
import java.sql.SQLException;

public interface UserDao {

    User login(Connection connection, String name) throws SQLException;

    int register(Connection connection,User user) throws SQLException;
}
